/*
 * SudokuLoaderServiceImpl.java
 *
 * Created on 5 février 2009, 13:21
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.yournamehere.server;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import java.io.File;
import org.yournamehere.client.SudokuLoaderService;

/**
 *
 * @author D4v1D
 */
public class SudokuLoaderServiceImpl extends RemoteServiceServlet implements
        SudokuLoaderService {
    
    public int[][] myMethod(String s) {
        // Do something interesting with 's' here on the server.
        
         int[][] test = new int[9][9];
            for(int i=0;i<9;i++){
                for(int j=0;j<9;j++){
                    test[i][j]=0;
                }
            }
            test[1][0]=8;
            test[2][1]=9;
            test[1][2]=5;
            test[3][3]=1;
            test[3][4]=2;
            test[3][5]=3;
            test[7][0]=1;
            test[7][1]=2;
            test[7][2]=3;
            return test;
         
        
        //ReadFile f = new ReadFile("../sudokuGrid.txt");
        //return f.getData(0);
    }
}
